/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.partitioninfo.entity;

import com.jeeplus.modules.member.entity.Member;
import com.jeeplus.modules.sessions.entity.Sessions;

import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;

/**
 * 用户对应场次详情Entity
 * @author w
 * @version 2021-01-25
 */
public class PartitionInfo extends DataEntity<PartitionInfo> {
	
	private static final long serialVersionUID = 1L;
	private Member member;		// 用户id
	private Sessions sessions;		// 分区id
	private Integer energyValue;		// 能量值
	private Integer stars;		// 获取幸运星

	private String selectTime;

	private Double integral;   //获取积分
	
	public PartitionInfo() {
		super();
	}

	public PartitionInfo(String id){
		super(id);
	}

	@ExcelField(title="用户id", fieldType=Member.class, value="member.loginName", align=2, sort=1)
	public Member getMember() {
		return member;
	}

	public void setMember(Member member) {
		this.member = member;
	}
	
	@ExcelField(title="分区id", fieldType=Sessions.class, value="sessions.sessionsName", align=2, sort=2)
	public Sessions getSessions() {
		return sessions;
	}

	public void setSessions(Sessions sessions) {
		this.sessions = sessions;
	}
	
	@ExcelField(title="能量值", align=2, sort=3)
	public Integer getEnergyValue() {
		return energyValue;
	}

	public void setEnergyValue(Integer energyValue) {
		this.energyValue = energyValue;
	}
	
	@ExcelField(title="获取幸运星", align=2, sort=4)
	public Integer getStars() {
		return stars;
	}

	public void setStars(Integer stars) {
		this.stars = stars;
	}

	public String getSelectTime() {
		return selectTime;
	}

	public void setSelectTime(String selectTime) {
		this.selectTime = selectTime;
	}

	public Double getIntegral() {
		return integral;
	}

	public void setIntegral(Double integral) {
		this.integral = integral;
	}
}